<div>
  <yu-panel title="秘书会办" :hide-filter="false">
    <template slot="filter">
      <yu-xform v-model="formdata" related-table-name="reftable" form-type="search">
        <yu-xform-group :column="4">
          <yu-xform-item label="流程实例号" placeholder="流程实例号" ctype="input" name="instanceId"></yu-xform-item>
          <yu-xform-item label="业务流水号" placeholder="业务流水号" ctype="input" name="bizId"></yu-xform-item>
          <yu-xform-item label="会议状态" placeholder="会议状态" ctype="select" name="mettingSts" :options="mettingStsOptions">
          </yu-xform-item>
        </yu-xform-group>
      </yu-xform>
    </template>
    <el-table-x ref="reftable" :row-index="true" :base-params="baseParams" :data-url="urls.index"
      :table-columns="tableColumns" @custom-row-op="customRowOp"></el-table-x>
  </yu-panel>
  <el-dialog-x :title="viewTitle[viewType]" :visible.sync="startdialogVisible" width="650px" @close="cancel">
    <div class="box-card" style="margin: 15px;">
      <el-form ref="reform" :model="gatherModel" label-width="80px" :rules="rules">
        <el-form-item label="会议主题" prop="mettingSub">
          <el-input type="input" v-model="gatherModel.mettingSub"></el-input>
        </el-form-item>
        <el-form-item label="会议年份" prop="mettingYear">
          <el-date-picker v-model="gatherModel.mettingYear" type="year" placeholder="选择年" value-format="yyyy"
            @change="getyear" :picker-options="pickerOptions"></el-date-picker>
        </el-form-item>
        <el-form-item label="会议期数" prop="mettingNo">
          <el-select v-model="gatherModel.mettingNo" placeholder="选择期数">
            <el-option v-for="index in number" :label="index.value" :value="index.key+''">
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="会议成员" prop="userId">
          <el-select v-model="gatherModel.userId" :multiple="true" @change="memberChange" :disabled="false"
            @remove-tag="removeTag">
            <el-option v-for="item in Members" :key="item.userId" :label="item.userName" :value="item.userId">
              <span style="float: left">{{ item.userName }}</span>
              <span style="float: right; color: #8492a6; font-size: 13px">{{ item.key }}</span>
            </el-option>
          </el-select>
        </el-form-item>
      </el-form>
    </div>
    <div slot="footer" align="center">
      <el-button @click="cancel">取消</el-button>
      <el-button type="primary" v-if="cancelHidden == true" @click="nwfstartFn">开始会议</el-button>
      <el-button type="primary" v-if="cancelHidden == false" @click="nwfrerunFn">重新开始会议</el-button>
    </div>
  </el-dialog-x>
  <el-dialog-x :title="viewTitle[viewType]" :visible.sync="detaildialogVisible" width="900px">
    <el-table-x ref="gathertable" :data-url="urls.dataUrl" :pageable=false :base-params="detailParams"
      :table-columns="detailColumns"></el-table-x>
    <div slot="footer" align="center">
      <el-button type="primary" @click="detaildialogVisible = false">确定</el-button>
    </div>
  </el-dialog-x>
</div>